import ajax from './index'

export function config_all() {
    return ajax({
        url: "/backend/config/all",
        method: "get"
    });
}

export function config_save(param) {
    return ajax({
        url: "/backend/config/save",
        method: "post",
        data: param
    });
}

export function uploadSubmit(data) {
    return ajax({
        url: '/backend/files/upload2',
        method: 'post',
        data
    });
}
